#pragma once

#include "IPerformanceData.h"

class CPerformanceDataStore : public FTLib::IPerformanceData
{
private:
	std::map<std::wstring, double> keyValue;
public:
	// IPerformanceDataStore
	virtual void AddPerformanceData(const wchar_t* szwDescription, double elapsedTime);

	// IPerformanceDataQuery
	virtual bool TryGetDouble(const wchar_t* szwDescription, double* pDbl);
	virtual void EnumDescriptions(std::function<bool(const std::wstring&)> func);

	//IPerformanceDataControl
	virtual void Clear();
};